<div class="sidebar_detail">
	<div class="tab-header">
		<div class="title">
			<i class="fa fa-home"></i>代客下单
		</div>
		<div class="tool" id="submitBtns">
			<button type="button" class="btn btn-default"
					ng-click="agencySupport.save()" ng-disabled="agencySupportForm.$invalid || agencySupport.entity.cars.length == 0">
				<i class="fa fa-outdent"></i>保存
			</button>
		</div>
	</div>
	<!-- Nav tabs -->
	<ul class="nav nav-tabs" role="tablist" style="clear: both">
		<li class="active">
			<a data-target="#agencyBaseInfo" data-toggle="tab">基本信息</a>
		</li>
		<li>
			<a data-target="#agencyCarInfo" data-toggle="tab">游客信息</a>
		</li>
	</ul>
	<!-- Tab panels -->
	<div class="tab-content">
		<!--此处存放各tab页div-->
		<div class="tab-pane active" id="agencyBaseInfo">
			<form id="agencySupportForm" name="agencySupportForm">
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">
								<span class="notNull">*</span>组织名称:
							</label>
							<div class="col-md-8 col-sm-10">
								<input name="agencyedDept" type="text"
									   class="form-control" ng-model="agencySupport.entity.agencyedDept" required>
								<span class="glyphicon glyphicon-ok form-control-feedback"
									  ng-show="agencySupportForm.agencyedDept.$valid"></span>
							</div>
						</div>
					</div>
				</div>

				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">
								<span class="notNull">*</span>成本价格:
							</label>
							<div class="col-md-8 col-sm-10">
								<input name="totalCost" type="number" class="form-control" ng-model="agencySupport.entity.totalCost" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="agencySupportForm.totalCost.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">
								<span class="notNull">*</span>外卖价格:
							</label>
							<div class="col-md-8 col-sm-10">
								<input name="totalSale" type="number" class="form-control" ng-model="agencySupport.entity.totalSale" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="agencySupportForm.totalSale.$valid"></span>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
		<div class="tab-pane" id="agencyCarInfo" style="padding: 4px 16px;">
			<div class="row">
				<div class="col-md-12" style="padding: 0 1px;">
					<div id="agencyVisitorGirdDivId"></div>
				</div>
			</div>
		</div>
	</div>
</div>